// src/sidepanel/main.ts - Side Panel Vue App Entry Point
import { createApp } from 'vue';
import { createPinia } from 'pinia';
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import 'uno.css';

// 导入统一的样式文件
import '../assets/main.css';

import App from './App.vue';
import router from './router';

// 创建Pinia store
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

// 创建并挂载Vue应用
const app = createApp(App);

app.use(pinia);
app.use(router);

app.mount('#app');

console.log('SideX Side Panel initialized');